(0) Obligation:

Clauses:

goal :- ','(lte(X, s(s(s(s(0))))), even(X)).
lte(0, Y).
lte(X, s(Y)) :- ','(no(zero(X)), ','(p(X, P), lte(P, Y))).
even(0).
even(s(s(X))) :- even(X).
p(0, 0).
p(s(X), X).
zero(0).
no(X) :- ','(X, ','(!, failure(a))).
no(X1).
failure(b).

Query: goal()

(1) PrologToDTProblemTransformerProof (SOUND transformation)

Built DT problem from termination graph DT10.

(2) Obligation:

Triples:


Clauses:


Afs:

(3) TPisEmptyProof (EQUIVALENT transformation)

There are no more dependency triples. Hence, the dependency triple problem trivially terminates.

(4) YES